import {type} from '../action'
export default function updeTitle(state={titelName:''}, action){
    switch (action.type) {
        case type.SHOW_TITLE:
            return {
                ...state,
                titelName:action.titelName
            }
        default:
            return {...state};
    }
}